package com.jxdinfo.hussar.cloud.module.example.lift.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 实现功能：
 * @author zhangkai
 * @version 1.0.00 2023-07-10 18:22
 */
@ApiModel(description = "移动端-升降机实时数据DTO")
@Data
public class AppLiftTodayRealDataDto  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工作状态：0空闲，1工作")
    private Integer workStatus;

    @ApiModelProperty(value = "今日吊次")
    private Integer todayWorkNum;

    @ApiModelProperty(value = "今日工作净时长")
    private Integer todayWorkDuration;

    @ApiModelProperty(value = "今日吊重")
    private BigDecimal todayWorkWeight;

    @ApiModelProperty(value = "升降机驾驶舱监控图片")
    private String liftCockpitImg;

    @ApiModelProperty(value = "升降机吊钩监控图片")
    private String cliverCockpitImg;

    @ApiModelProperty(value = "X倾角")
    private String obliquityX;

    @ApiModelProperty(value = "Y倾角")
    private String obliquityY;

    @ApiModelProperty(value = "运载人数")
    private String peoples;

    @ApiModelProperty(value = "载重")
    private String weight;

    @ApiModelProperty(value = "楼层")
    private String floor;

    @ApiModelProperty(value = "高度")
    private String height;

    @ApiModelProperty(value = "运行速度")
    private String speed;

    @ApiModelProperty(value = "风速")
    private String wind;

    @ApiModelProperty(value = "X倾角状态")
    private String obliquityXStatus;

    @ApiModelProperty(value = "Y倾角状态")
    private String obliquityYStatus;

    @ApiModelProperty(value = "运载人数状态")
    private String peoplesStatus;

    @ApiModelProperty(value = "载重状态")
    private String weightStatus;

    @ApiModelProperty(value = "楼层状态")
    private String floorStatus;

    @ApiModelProperty(value = "高度状态")
    private String heightStatus;

    @ApiModelProperty(value = "运行速度状态")
    private String speedStatus;

    @ApiModelProperty(value = "风速状态")
    private String windStatus;

    @ApiModelProperty(value = "X倾角时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date obliquityXTime;

    @ApiModelProperty(value = "Y倾角时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date obliquityYTime;

    @ApiModelProperty(value = "运载人数时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date peoplesTime;

    @ApiModelProperty(value = "载重时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date weightTime;

    @ApiModelProperty(value = "楼层时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date floorTime;

    @ApiModelProperty(value = "高度时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date heightTime;

    @ApiModelProperty(value = "运行速度时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date speedTime;

    @ApiModelProperty(value = "风速时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date windTime;


}
